package Server;

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Thanhpv
 * Create on 7:03:47 AM Dec 18, 2013
 */
public class ChatServer {
    String Host;
    int Port;
    int numUser;
    public ChatServer(){
        
    }
    
    public ChatServer(String Host, int port){
        this.Host = Host;
        this.Port = port;
        this.numUser = 0;
    }
    public ChatServer(String Host, int port, int numUser){
        this.Host = Host;
        this.Port = port;
        this.numUser = numUser;
    }
    public String getHost() {
        return Host;
    }

    public int getPort() {
        return Port;
    }
    
    public int getNumUser(){
        return this.numUser;
    }
    
    public void increaseNumUser(){
        this.numUser++;
    }
}
